﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Mockery.Core
{
    /// <summary>
    /// An exception thrown when the fundamental mockery components are executed out of order
    /// </summary>
    [Serializable]
    public class MockeryOrderException : Exception
    {
        public MockeryOrderException(string message, Exception innerException) 
            : base(message, innerException)
        {}

        public MockeryOrderException(string message)
            : base(message)
        {}

        public MockeryOrderException()
        {}

        protected MockeryOrderException(SerializationInfo serializationInfo, StreamingContext streamingContext)
            : base(serializationInfo, streamingContext)
        {}
    }
}
